package com.itheima.test5;

/**
 * @Author:gy
 * @Date: 2025/09/06 11:11
 * @Description:
 */
public class Teacher {
    public  String name;
    public int age;
    public String sex;
    private int money = 300;

    @Override
    public String toString() {
        return "Teacher{" +
                "name='" + name + '\'' +
                ", age=" + age +
                ", sex='" + sex + '\'' +
                ", money=" + money +
                '}';
    }
}
